<template>
  <div>
    asdasdasda
    <el-button type="primary" @click="logout">退出</el-button>
  </div>
</template>

<script>
export default {
  name: 'Test',
  methods: {
    logout () {
      localStorage.removeItem('look')
    }
  },
  created() {
  },
}
</script>

<style>

</style>